<?
	include '/home/hosting_users/sl2000/www/include/sl2000.php';
	include $INCLUDE_HOME.'/db/db_connect.php';
	include $INCLUDE_HOME.'/login/login_function.php';
	include $INCLUDE_HOME.'/sms/sms_function.php';

	$loginUserId = login_session();

	//header("Content-type: application/vnd.ms-excel");
	//header("Content-Disposition: attachment; filename=abs.csv");
	//header("Content-Description: PHP4 Generated Data"); 

?>
<?
	$sql="SELECT * FROM tb_members";
	$result=mysql_query($sql);

	while($row = mysql_fetch_array($result))
	{
		echo $row['mobile'].','.$row['name'].','.$row['state'];
		echo "\n";
	}
?>
